const proxy=require("http-proxy-middleware")
module.exports=function(app){
    app.use(
        proxy.createProxyMiddleware("/cifgp-core-api",{
            target:process.REACT_APP_BASE_URL,
            changeOrigin:true,
            // pathRewrite:{"^/api":"personas"} //重写API
        })
    )
}